package com.hama.iotrust.common.web;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/page")
public class LeftAction {
	
	private static final Logger logger = LoggerFactory.getLogger(LeftAction.class);
	
	@RequestMapping(value = "/left")
    public Object left() {
//        ModelAndView model = new ModelAndView();
//        model.setViewName("/page/left");
//        return model;
        return "left";
    }
	
	
	@RequestMapping(value = "/center")
    public Object center() {
//        ModelAndView model = new ModelAndView();
//        model.setViewName("/page/center");
//        return model;
        return "center";
    }
	
	
	@RequestMapping(value = "/main")
    public Object main() {
        return "main";
    }
	
	
	@RequestMapping(value = "/chuan")
    public Object chuan() {
        return "chuan";
    }

}
